/*jslint newcap:true, browser: true, devel: true, bitwise: true, white: true, plusplus: true */
/*global $:true, define:true */

define(['WID/Core/Class', 'WID/Core/Ajax'], function(Class,Ajax) {
"use strict";

function Translation(languagePrefix, name) {
	this.Data = {};
	this.Path = Translation.PATH+languagePrefix+name;
}

Translation.PATH = 'Translations/';
return Class(Translation, { 
methods: {
	constructor: Translation,
	load: function(onLoad) {
		Ajax.get(this.Path,null,function(xhr)) {
			try {
				var response = JSON.parse(xhr.responseText);	
			} catch (e) {
				
			}
		}
		
	}
}

});


